<template>
  <div class="data">
    <Tabs :text="text" />

    <router-view />
  </div>
</template>

<script>
import Tabs from "../components/Tabs.vue";
export default {
  components: {
    Tabs,
  },
  data() {
    return {
      text: [
        {
          id: "0",
          textName: "客户概况",
          url: "/data/customerProfile",
        },
        {
          id: "1",
          textName: "年度曲线",
          url: "/data/annualCurve",
        },
        {
          id: "2",
          textName: "合同统计",
          url: "/data/contractStatistics",
        },
        {
          id: "3",
          textName: "客户分析",
          url: "/data/customerAnalysis",
        },
        {
          id: "4",
          textName: "售后统计",
          url: "/data/afterSales",
        },
        {
          id: "5",
          textName: "跟单统计",
          url: "/data/followUp",
        },
        {
          id: "6",
          textName: "订单统计",
          url: "/data/orderStatistics",
        },
        {
          id: "7",
          textName: "工单统计",
          url: "/data/TicketStatistics",
        },
        {
          id: "8",
          textName: "详细数据",
          url: "/data/detailedData",
        },
        {
          id: "9",
          textName: "订单提成",
          url: "/data/orderCommission",
        },
      ],
    };
  },
  methods: {},
};
</script>

<style>
</style>